package com.company.String;

/**
 * @ClassName Stringtest
 * @Description TODO
 * @Author 11
 * @Date 2021/3/1 15:22
 * @Version 1.0
 */
public class Stringtest {

    public static void main(String[] args) {
        String a = "123";
        StringBuilder b = new StringBuilder("1234");
        StringBuffer c = new StringBuffer("12345");


        String s1 = "aaa";
        String s2 = "bbb" + "ccc";
        String s3 = s1 + "bbb";
        String s4 = new String("aaa");


    }
}
